﻿using Microsoft.Extensions.Configuration;
using Microsoft.Identity.Client;
using NewLife.Caching.Services;
using NewLife.Caching;
using NewLife.Log;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YY.Admin.Core;
using YY.Admin.Core.Option;
using NewLife.Configuration;
using YY.Admin.Core.SqlSugar;

public static class DbExtensions
{
    /// <summary>
    /// 注册缓存服务
    /// </summary>
    public static void AddDbContext(this IContainerRegistry containerRegistry,IConfiguration configuration)
    {
        containerRegistry.AddSqlSugar(configuration);
    }

}
